<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.db.workcall.*"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
 <center>
 	<table border=0 width=700>
      <tr>
        <td align=left>
          <br><b><font size=3>업무연락 읽기</font></b><br>
        </td>
      </tr>
    </table>
    <table border=0 width=700>
    <s:if test="kind==2">  
      <tr>
        <td width=100 align=right bgcolor="rgb(249,249,249)">받는이</td>
        <td width=600 align=left>${vo.name }</td>
      </tr>
    </s:if>
    <s:if test="kind==3||kind==4">
      <tr>
        <td width="100" align=right bgcolor="rgb(249,249,249)">보낸이</td>
        <td width="600" align=left>${vo.name }</td>
      </tr>
    </s:if>  
      <tr>
        <td align=right bgcolor="rgb(249,249,249)">제목</td>
        <td align=left>${vo.subject }</td>
      </tr>
 <!--       <tr>
        <td align=right bgcolor="rgb(249,249,249)">첨부</td>
        <td align=left>${vo.filename } (${vo.filesize }bytes)</td>
      </tr>-->
      <tr>
        <td colspan=2 align=left>
          <textarea rows="20" cols="80" readonly>${vo.content }</textarea>
        </td>
      </tr>
    </table>
    <table border=0 width=700>
      <tr>
        <td align="right">
          <s:a href="/ssteam/workcall/list.do?kind=3&sabun=%{#session.user.sabun }" theme="ajax" targets="result">
            <img src="/ssteam/image/work/list.png" border=0>
          </s:a>
          <img src="/ssteam/image/work/reply.png" border=0>
          <s:if test="#session.user.sabun==vo.get && kind==3">
            <s:a href="/ssteam/workcall/move.do?no=%{vo.no }" theme="ajax" targets="result">
              <img src="/ssteam/image/work/delete.png" border=0>
            </s:a>  
          </s:if>
        </td>
      </tr>
    </table>
 </center>
</body>
</html>